﻿package com.tvein.sanguo.swc.common
{
	import flash.events.Event;
	
	public class SwcEvent extends Event
	{
		protected var _cmd:Object;
		
		public function SwcEvent(type:String, cmd:Object = null, bubbles:Boolean = false, cancelable:Boolean = false)
		{
			super(type, bubbles, cancelable);
			_cmd = cmd;
		}
		
		public function get cmd():Object
		{
			return _cmd;
		}
		
        override public function clone():Event
        {
            return new SwcEvent(this.type, this.cmd, this.bubbles, this.cancelable);
        }
	}
}